<form id="pagerForm" method="post" action="{{$smarty.const.__URL__|url}}">
	<input type="hidden" name="pageNum" value="{{$page.pageNum}}" />
	<input type="hidden" name="numPerPage" value="{{$page.numPerPage}}" />
	<input type="hidden" name="orderField" value="{{$page.orderField}}" />
	<input type="hidden" name="orderDirection" value="{{$page.orderDirection}}" />
	<input type="hidden" name="uid" value="{{$smarty.post.uid}}">
	<input type="hidden" name="username" value="{{$smarty.post.username}}" />
	<input type="hidden" name="reg_time" value="{{$smarty.post.reg_time}}" />
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="{{$smarty.const.__URL__|url}}" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					用户编号：<input type="text" name="uid" value="{{$smarty.post.uid}}" />
				</td>
				<td>
					用户名称：<input type="text" name="username" value="{{$smarty.post.username}}" />
				</td>
				<td>
					注册日期：<input type="text" class="date" readonly="true" name="reg_time" value="{{$smarty.post.reg_time}}"/>
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
				<li><div class="buttonActive"><div class="buttonContent"><button type="button" onclick="return navTabSearch(this);">刷新</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<!--
			<li><a class="add" href="{{$smarty.const.__URL__&a=add|url}}" target="navTab"><span>添加</span></a></li>
			<li><a class="edit" href="{{$smarty.const.__URL__&a=update&id={id}|url}}" target="navTab"><span>修改</span></a></li>-->
			<li><a class="delete" href="{{$smarty.const.__URL__&a=delete|url}}" target="selectedTodo"  rel="ids" postType="string" title="确实要删除这些记录吗?"><span>批量删除</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="140">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th orderField="id" class="{{$page.orderDirection}}">用户编号</th>
				<th>用户名</th>
				<th>邮箱</th>
				<th>注册日期</th>
				<th>注册IP</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			{{section name=loop loop=$list}}
			<tr target="uid" rel="{{$list[loop].uid}}">
				<td><input name="ids" value="{{$list[loop].uid}}" type="checkbox"></td>
				<td>{{$list[loop].uid}}</td>
				<td>{{$list[loop].username}}</td>
				<td>{{$list[loop].email}}</td>
				<td>{{$list[loop].reg_time}}</td>
				<td>{{$list[loop].reg_ip}}</td>
				<td>
					<a target="ajaxTodo" href="{{$smarty.const.__URL__&a=delete&ids=$list[loop].uid|url}}" class="btnDel" title="确定要删除吗?">删除</a>
					<!--<a target="navTab" href="{{$smarty.const.__URL__&a=update&id=$list[loop].uid|url}}" class="btnEdit">编辑</a>-->
				</td>
			</tr>
		    {{/section}}
		</tbody>
	</table>
	{{include file="Include/page.html"}}
</div>
